Hi Alex, The majority of the Data transferred over to Kanalog comes out JP7 pin 15 (CLK) and pin 16 (Data). That includes the DACS, opto outputs, fet drivers, GP Outputs, and Charge Pump LED. If you configure that as an output or as Step/Dir it can cause problems. Try power cycling the board and not configuring anything and testing the outputs. Also please use the latest Test Version 4.30l as I think there was a bug in multiplexing the outputs in some previous version. www.dynomotion.com/Software/KMotion430l.exe Thanks TK
| Group: DynoMotion |
Message: 6761 |
From: Tom Kerekes |
Date: 2/18/2013 |
| Subject: Re: intro and Kanalog output question |
Hi Alex,
One thing I forgot to mention is that we have a Low Pass Coordinated Motion Filter. This can be used to smooth out some Jerk spikes at the expense of a small amount of position lag. See:
http://dynomotion.com/Help/KMotionCNC/TrajectoryPlanner.htm
Regards TK
| Group: DynoMotion |
Message: 6764 |
From: alexmstahl@rocketmail.com |
Date: 2/18/2013 |
| Subject: Re: intro and Kanalog output question |
Hi Tom,
Thanks for the tips, problem solved.
Restart with no configuration, Kanalog outputs work fine.
Set multiplexer bit, Kanalog outputs still work.
Initialize axes using Step/Dir generators 0-2, Kanalog outputs stop working.
Install 4.30l and repeat the above steps, all good!
So I guess initializing the axes was affecting JP7 pins even though the multiplexing was set?
Thanks,
Alex
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Alex,
>
> The majority of the Data transferred over to Kanalog comes out JP7 pin 15 (CLK) and pin 16 (Data). That includes the DACS, opto outputs, fet drivers, GP Outputs, and Charge Pump LED. If you configure that as an output or as Step/Dir it can cause problems. Try power cycling the board and not configuring anything and testing the outputs.
>
> Also please use the latest Test Version 4.30l as I think there was a bug in multiplexing the outputs in some previous version.
>
> www.dynomotion.com/Software/KMotion430l.exe
>
> Thanks
> TK
>
>
>
>
> ________________________________
> From: "alexmstahl@..." <alexmstahl@...>
> To: DynoMotion@yahoogroups.com
> Sent: Monday, February 18, 2013 8:53 AM
> Subject: [DynoMotion] Re: intro and Kanalog output question
>
>
> Â
> Hmm, I just saw some activity on the Kanalog FET switches during motion. The step/dir mux bit is set since I'm driving geckos from J4/J6.
>
> --- In DynoMotion@yahoogroups.com, "alexmstahl@" wrote:
> >
> > Hi,
> >
> > I just joined the group, having got a Kflop and Kanalog recently. So far everything has been working great. I appreciate the breadth of consideration and expertise that shows in the architecture, the hardware, software, and...even the documentation! Thanks, Tom!
> >
> > My first application is a cobbled-together 4-axis mill. With the Dynomotion controller I was able to add glass scales and get it running in CL Step mode, something I have wanted to do for a long time. Fine tuning the loop gains and filters was straightforward and even fun; don't always get to say that.
> >
> > The Jerk limit is really useful on this lightweight system, and it took me a while to understand (if I do understand correctly) that the trajectory planner doesn't deal with jerks.
> > Unavoidable bad puns aside, it would be awesome if it could; and I get it that might be a lot to ask.
> >
> > Anyway, sometimes hard things are easy and easy things are hard...
> >
> > Yesterday I went to add spindle control, and got stumped because I can't get any of the Kanalog outputs to switch. For testing I tied a 10K resistor from local 5V to the plus side of an opto output, and hung a scope probe there. Tied the minus side of the opto output to board ground. My C program (or UI clicking) makes the checkbox toggle on the digital I/O screen, but the opto doesn't seem to turn on. I tried several opto channels and also tried the same test wiring on one of the FET switches, all to no avail.
> >
> > The linear encoders and some pots are wired up through Kanalog differential and ADC inputs, and working fine. Haven't tried the DACS. I didn't think I needed to set bit direction for the Kanalog outputs, but tried it anyway and it didn't help.
> >
> > Any suggestions?
> >
> > thanks!
> >
> > Alex
> >
>
|
|
| Group: DynoMotion |
Message: 6765 |
From: alexmstahl@rocketmail.com |
Date: 2/18/2013 |
| Subject: Re: intro and Kanalog output question |
Hi Tom,
Thanks, I read about that and will try it later. The spikes that were causing me trouble were at the corners of small smoothed segments, e.g. in the spiral demo gcode, so this sounds like a good thing to try.
thanks!
Alex
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Alex,
>
> One thing I forgot to mention is that we have a Low Pass Coordinated Motion Filter. This can be used to smooth out some Jerk spikes at the expense of a small amount of position lag. See:
>
> http://dynomotion.com/Help/KMotionCNC/TrajectoryPlanner.htm
>
>
> Regards
> TK
>
>
>
> ________________________________
> From: "alexmstahl@..." <alexmstahl@...>
> To: DynoMotion@yahoogroups.com
> Sent: Monday, February 18, 2013 8:31 AM
> Subject: [DynoMotion] intro and Kanalog output question
>
>
> Â
> Hi,
>
> I just joined the group, having got a Kflop and Kanalog recently. So far everything has been working great. I appreciate the breadth of consideration and expertise that shows in the architecture, the hardware, software, and...even the documentation! Thanks, Tom!
>
> My first application is a cobbled-together 4-axis mill. With the Dynomotion controller I was able to add glass scales and get it running in CL Step mode, something I have wanted to do for a long time. Fine tuning the loop gains and filters was straightforward and even fun; don't always get to say that.
>
> The Jerk limit is really useful on this lightweight system, and it took me a while to understand (if I do understand correctly) that the trajectory planner doesn't deal with jerks.
> Unavoidable bad puns aside, it would be awesome if it could; and I get it that might be a lot to ask.
>
> Anyway, sometimes hard things are easy and easy things are hard...
>
> Yesterday I went to add spindle control, and got stumped because I can't get any of the Kanalog outputs to switch. For testing I tied a 10K resistor from local 5V to the plus side of an opto output, and hung a scope probe there. Tied the minus side of the opto output to board ground. My C program (or UI clicking) makes the checkbox toggle on the digital I/O screen, but the opto doesn't seem to turn on. I tried several opto channels and also tried the same test wiring on one of the FET switches, all to no avail.
>
> The linear encoders and some pots are wired up through Kanalog differential and ADC inputs, and working fine. Haven't tried the DACS. I didn't think I needed to set bit direction for the Kanalog outputs, but tried it anyway and it didn't help.
>
> Any suggestions?
>
> thanks!
>
> Alex
>
|
|
| Group: DynoMotion |
Message: 6781 |
From: alexmstahl@rocketmail.com |
Date: 2/21/2013 |
| Subject: Re: intro and Kanalog output question |
Hi Tom,
Just a quick follow-up to say that tweaking the coordinated motion LPF let me double the feed rate on some complex surfaces. Yay!
cheers,
Alex
--- In DynoMotion@yahoogroups.com, "alexmstahl@..." <alexmstahl@...> wrote:
>
> Hi Tom,
>
> Thanks, I read about that and will try it later. The spikes that were causing me trouble were at the corners of small smoothed segments, e.g. in the spiral demo gcode, so this sounds like a good thing to try.
>
> thanks!
>
> Alex
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Alex,
> >
> > One thing I forgot to mention is that we have a Low Pass Coordinated Motion Filter. This can be used to smooth out some Jerk spikes at the expense of a small amount of position lag. See:
> >
> > http://dynomotion.com/Help/KMotionCNC/TrajectoryPlanner.htm
> >
> >
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: "alexmstahl@" <alexmstahl@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Monday, February 18, 2013 8:31 AM
> > Subject: [DynoMotion] intro and Kanalog output question
> >
> >
> > Â
> > Hi,
> >
> > I just joined the group, having got a Kflop and Kanalog recently. So far everything has been working great. I appreciate the breadth of consideration and expertise that shows in the architecture, the hardware, software, and...even the documentation! Thanks, Tom!
> >
> > My first application is a cobbled-together 4-axis mill. With the Dynomotion controller I was able to add glass scales and get it running in CL Step mode, something I have wanted to do for a long time. Fine tuning the loop gains and filters was straightforward and even fun; don't always get to say that.
> >
> > The Jerk limit is really useful on this lightweight system, and it took me a while to understand (if I do understand correctly) that the trajectory planner doesn't deal with jerks.
> > Unavoidable bad puns aside, it would be awesome if it could; and I get it that might be a lot to ask.
> >
> > Anyway, sometimes hard things are easy and easy things are hard...
> >
> > Yesterday I went to add spindle control, and got stumped because I can't get any of the Kanalog outputs to switch. For testing I tied a 10K resistor from local 5V to the plus side of an opto output, and hung a scope probe there. Tied the minus side of the opto output to board ground. My C program (or UI clicking) makes the checkbox toggle on the digital I/O screen, but the opto doesn't seem to turn on. I tried several opto channels and also tried the same test wiring on one of the FET switches, all to no avail.
> >
> > The linear encoders and some pots are wired up through Kanalog differential and ADC inputs, and working fine. Haven't tried the DACS. I didn't think I needed to set bit direction for the Kanalog outputs, but tried it anyway and it didn't help.
> >
> > Any suggestions?
> >
> > thanks!
> >
> > Alex
> >
>
|
|
| | | |